package com.example.huaxindemo2.mapper;

import com.example.huaxindemo2.entity.M002;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface M002Mapper {
    @Select("select m00201,m00202 from m002")
    public List<M002> selectAll();

    @Select("select m00203,m00201,m00207,m00202 from m002 where m00201=#{m00201}")
    M002 selectnumber(int m00201);
}